/*
 * Copyright (c) D.L.. All rights reserved.
 */

package xml;

import javax.xml.parsers.DocumentBuilderFactory;

import org.w3c.dom.Document;
import org.w3c.dom.Element;

/**
 * @author D.L.
 *
 */
public class W3CDOMAPI {
	public static void main(String[] args) throws Exception{
		Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(W3CDOMAPI.class.getResourceAsStream("tt.xsl"));
		Element root = doc.getDocumentElement();
		System.out.println(root.getTextContent());
	}
}
